﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WFL.Demo.WinForm
{
    public partial class RichTextBoxTestForm : Form
    {
        public RichTextBoxTestForm()
        {
            InitializeComponent();
        }

        private void _btnInsertImage_Click(object sender, EventArgs e)
        {
            //CheckBox control = new CheckBox();
            //richTextBoxEx1.InsertControl(control);

            richTextBoxEx1.AppendText("<p>这是段落</p>啦啦啦");
            richTextBoxEx1.InsertImage(Properties.Resources.pb);
        }
    }
}
